﻿<script id="tpl-size-list" type="text/html">        
{{#Data}}            
<tr id="s-{{SizeId}}">
    <td>
        <input type="text" value="{{Name}}" style="width: 95%;" class="validate[required]" />
    </td>
    <td class="aligncenter">
        <input type="text" value="{{Priority}}" style="width: 40px; text-align: center" class="validate[required,custom[integer],max[100]]" />
    </td>                            
    <td class="aligncenter">
        <a class="btn14 mr5 topDir" title="Lưu lại" onclick="Size.Save({{SizeId}});">
            <img alt="" src="/images/icons/dark/check.png"/>
        </a>
        <a class="btn14 topDir" title="Xóa" onclick="Size.Delete({{SizeId}});">
            <img alt="" src="/images/icons/dark/close.png"/>
        </a>
    </td>
</tr>                        
{{/Data}}                 
{{^Data}}
    <tr>
        <td colspan="3">
            <div class="nNote nInformation">
                <p>Không có dữ liệu!</p>
            </div>
        </td>                
    </tr>                        
{{/Data}}    
</script>

<script id="temp" type="text/html">        
<tr class="gradeC">
    <td>
        <input type="text" id="txtName" style="width: 95%;" class="validate[required]" />
    </td>
    <td class="aligncenter">
        <input type="text" id="txtPriority" style="width: 40px; text-align: center" class="validate[required,custom[integer],max[100]]" />
    </td>                            
    <td class="aligncenter">
        <a class="btn14 mr5 topDir" title="Lưu lại" onclick="Size.Create({{SizeId}});">
            <img alt="" src="/images/icons/dark/add.png"/>
        </a>                
    </td>
</tr>
</script>